<template>
    <div>
        {{msg}}
        {{this.$route.params.msg}}
        {{this.$route.query.msg}}
    </div>
</template>

<script>
    export default {
        name: "404",
        data(){
            return{
                msg:''
            }
        },
        created() {
            this.getMsg();
        },
        methods:{
            getMsg(){
                let msg=this.$route.params.msg;
                let userId1=this.$route.query.msg;
                console.log(msg);
                console.log(userId1);
                this.msg=msg;
            }
        }
    }
</script>

<style scoped>

</style>